package cn.school.dao;

import java.util.List;

import cn.school.entity.Subject;

public interface SubjectDao {
	public int add(Subject s);

	public List<Subject> findall();

	public int del(long id);

	public int upd(long id);

	public List<Subject> paging(int pageNo, int pageSize);

	public int total();
}
